package com.example.demo2;

import com.example.demo2.pojo.PersonProperties;
import com.example.demo2.pojo.TestConfigBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@SpringBootApplication
//@EnableConfigurationProperties({PersonProperties.class})
@EnableConfigurationProperties({PersonProperties.class, TestConfigBean.class})
public class Demo2Application {

    public static void main(String[] args) {
        SpringApplication.run(Demo2Application.class, args);
    }

}
